package com.an_yang_gang_yie.an_yang_gang_yie.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author 刘蓝天
 * @since 2021-06-17
 */
@ApiModel(value="Menu对象", description="")
public class Menu implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "菜单id")
    @TableId(value = "menu_id", type = IdType.ASSIGN_UUID)
    private String menuId;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime upTime;

    @ApiModelProperty(value = "0启用 1 弃用")
    @TableLogic
    private Integer isDelete;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "角色名字")
    private String menuName;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "菜单 id")
    private String menus;

    @ApiModelProperty(value = "当前管理员所属公司主体")
    private String mainBodyId;

    @ApiModelProperty(value = "0弃用，1启用")
    private Integer status;

    @ApiModelProperty(value = "最多三级 1 2 3")
    private Integer level;

    @ApiModelProperty(value = "图标class名字")
    private String icon;

    @ApiModelProperty(value = "路由地址")
    private String routerUrl;

    @ApiModelProperty(value = "菜单父级id 1级没有 根节点为null")
    private String parentId;

    @ApiModelProperty(value = "['32'，‘32’]节点末端为null")
    private String children;


    public String getMenuId() {
        return menuId;
    }

    public void setMenuId(String menuId) {
        this.menuId = menuId;
    }

    public LocalDateTime getUpTime() {
        return upTime;
    }

    public void setUpTime(LocalDateTime upTime) {
        this.upTime = upTime;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getMenus() {
        return menus;
    }

    public void setMenus(String menus) {
        this.menus = menus;
    }

    public String getMainBodyId() {
        return mainBodyId;
    }

    public void setMainBodyId(String mainBodyId) {
        this.mainBodyId = mainBodyId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getRouterUrl() {
        return routerUrl;
    }

    public void setRouterUrl(String routerUrl) {
        this.routerUrl = routerUrl;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getChildren() {
        return children;
    }

    public void setChildren(String children) {
        this.children = children;
    }

    @Override
    public String toString() {
        return "Menu{" +
        "menuId=" + menuId +
        ", upTime=" + upTime +
        ", isDelete=" + isDelete +
        ", createTime=" + createTime +
        ", menuName=" + menuName +
        ", remark=" + remark +
        ", menus=" + menus +
        ", mainBodyId=" + mainBodyId +
        ", status=" + status +
        ", level=" + level +
        ", icon=" + icon +
        ", routerUrl=" + routerUrl +
        ", parentId=" + parentId +
        ", children=" + children +
        "}";
    }
}
